import nose
from nose.tools import assert_equal, with_setup


class DemoTest(object):

    def setup(self):
        print("set_up")

    def teardown(self):
        print("tear_down")

    def test_01(self):
        print("test_01")
        assert_equal(2, 1 + 1)


if __name__ == '__main__':
    nose.main()
